#!/usr/bin/env python
# -*- coding: UTF-8 -*-
"""
@File ：__init__.py
@Author ：zqy
@email : zqingy@work@163.com
@note:
"""
import os

import yaml

# yaml文件路径
YAML_PATH: str = os.path.join(os.getcwd(), "config.yaml")

# 读取yaml文件
with open(YAML_PATH, mode="r", encoding="u8") as file:
    YAML_CONTENT: dict = yaml.load(file, Loader=yaml.FullLoader)

# 项目名称
PROJECT_NAME: str = YAML_CONTENT.get("ProjectName", "AdminSystem")
